<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@page import="java.util.ArrayList"%>
<head>
<title>执行111</title>
<script> 
		function daiban(process_instance_id,workitem_id){
			location.href="${pageContext.request.contextPath}/edu.ccut.saturn.workflow/page/setdaiban.jsp?process_instance_id="+process_instance_id +"&workitem_id="+workitem_id;
		}
			function refuse(process_instance_id,workitem_id){
			location.href="${pageContext.request.contextPath}/edu.ccut.saturn.workflow/page/setdaibanRefuse.jsp?process_instance_id="+process_instance_id +"&workitem_id="+workitem_id;
		}
	</script>
</head>

<body>
<table width="100%" align="center">
	<tr>
		<td>
		<form name="form1" method="post"
			action="${pageContext.request.contextPath}/edu.ccut.saturn.workflow::/publicModule/action/FinishWorkFlowTask.action">
		<%
					List<SaturnData> messageList = (ArrayList<SaturnData>) request
					.getAttribute("daibanMessageList");
			String isRefuse = "0";
			if (messageList != null) {
				if (messageList.size() % 2 == 1) {
					isRefuse = "1";
				}
			}
			SaturnData userSaturn = (SaturnData) session
					.getAttribute("__SATURN_AUTORITY_USER__");
			String userName = null;//(String) userSaturn.get("username");
			String userSerialNo = (String) userSaturn.get("id");
			String userDepartment = null;//(String) userSaturn.get("jgdm");
			String isDaiban = request.getAttribute("isDaiban") + "";
			//测试指定参与者
			//ArrayList<String> userSerialNoList = new ArrayList<String>();
			//userSerialNoList.add(0,"000346");
			//session.setAttribute("userSerialNoList",userSerialNoList);
			//request.setAttribute("aa","1");
			//request.setAttribute("userSerialNoList",userSerialNoList);
		%> <input name="wf_workitem_id" type="hidden"
			value="${workitemInstance.workitem_id}"> <input
			name="wf_userSerialNo" type="hidden" value="<%=userSerialNo%>">